frappe.listview_settings['Initial Work Order'] = {
    onload: function (listview) {   
        var df1 = {
                doctype:"Initial Work Order Item",
                fieldname: "work_order",
                label:"Work Order",
                fieldtype: "Link",
                options:"Work Order",
                onchange: function(){
                    listview.start = 0;
                    listview.refresh();
                    listview.on_filter_change();
                },
        }
        listview.page.add_field(df1, listview.filter_area.standard_filters_wrapper);

        var df2 = {
            doctype:"Initial Work Order Tracking Number",
            fieldname: "tracking_number",
            label:"Tracking Number",
            fieldtype: "Link",
            options: "Tracking Number",
            onchange: function(){
                listview.start = 0;
                listview.refresh();
                listview.on_filter_change();
            },
        }
        listview.page.add_field(df2, listview.filter_area.standard_filters_wrapper);
    }
};